broadway: Improve error message
authorBenjamin Otte <otte@redhat.com>
Sat, 31 Mar 2018 18:02:55 +0000 (20:02 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 5 Apr 2018 12:56:38 +0000 (14:56 +0200)
This error message is printed into the journal if a GTK app can't
connect to eithre Wayland or X11. Make it at least mention who is not
capable of connecting to a server.

Unrelated, we might want to improve our error reporting when a GTK app
can't start, so that debugging issues with system startup / login get
easier to resolve.

gdk/broadway/gdkdisplay-broadway.c

index 80c99752540c8631a24a754d644b32053b23978d..329dfcf19f0370636234be5988851a670513394e 100644 (file)
@@ -263,7 +263,7 @@ _gdk_broadway_display_open (const gchar *display_name)
   broadway_display->server = _gdk_broadway_server_new (display_name, &error);
   if (broadway_display->server == NULL)
     {
-      g_printerr ("Unable to init server: %s\n", error->message);
+      g_printerr ("Unable to init Broadway server: %s\n", error->message);
       g_error_free (error);
       return NULL;
     }